import Home from '@/components/home'
import Login from '@/components/login'
import Transition from '@/components/home/transition动画'
import Watch from '@/components/home/监听属性'
import Com from '@/components/home/动态及缓存组件'
import SLot from '@/components/home/插槽'
const routes = [
    {
      path: '/home',
      component: Home,
      children:[
        {
          path:'/transition',
          component:Transition
        },
        {
          path:'/watch',
          component:Watch
        },
        {
          path:'/component',
          component:Com
        },
        {
          path:'/slot',
          component:SLot
        }
      ]

    },
    {
      path: '/login',
      component: Login
    }
  ]
export default routes